package dataStructure;

//用来存储源码中的方法
public class Function {
    private String classname; //类名
    private String funbady;  //方法体
    private int linenum;     //代码行,TextRank统计有效的
    private String funname;  //方法名

    //构造函数
    public Function(String classname,String funbady,int linenum,String funname){
        this.classname = classname;
        this.funbady = funbady;
        this.linenum = linenum;
        this.funname = funname;
    }

    public String getClassname() {
        return classname;
    }

    public void setClassname(String classname) {
        this.classname = classname;
    }

    public String getFunbady() {
        return funbady;
    }

    public void setFunbady(String funbady) {
        this.funbady = funbady;
    }

    public int getLinenum() {
        return linenum;
    }

    public void setLinenum(int linenum) {
        this.linenum = linenum;
    }

    public String getFunname() {
        return funname;
    }

    public void setFunname(String funname) {
        this.funname = funname;
    }
}
